package com.hzk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author jack
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class LoginState implements Serializable {

    private static final long serialVersionUID = 1L;


    private Long id;

    private String username;

    private Integer loginTime;

    @TableId(value = "ipaddress", type = IdType.AUTO)
    private String ipaddress;


}
